from pydive.model import DeclarativeBase, metadata, DBSession
from sqlalchemy import Table, Column
from sqlalchemy.types import Integer, Unicode, UnicodeText


class DBVersion(DeclarativeBase):
    __tablename__ = 'migrate_version'
    
    repository_id = Column(Unicode(255),  primary_key=True,nullable=False)
    repository_path = Column(UnicodeText)
    version = Column(Integer)
